home *** CD-ROM | disk | FTP | other *** search
- Path: news.itg.ti.com!usenet
- From: Lloyd Charlier <LCharlier@ti.com>
- Newsgroups: comp.lang.c
- Subject: Directory deletion...
- Date: Mon, 26 Feb 1996 12:58:24 -0600
- Organization: Texas Instruments Incorporated
- Distribution: world
- Message-ID: <313202D0.388E@ti.com>
- NNTP-Posting-Host: charlier.itg.ti.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Does anyone have a code snippet enabling the absolute deletion
- of a directory WITHOUT regard to its contents? I am writing an
- installation program that is updating a previous version of
- client software and I would like to completely purge certain
- sub-directories "DEEP" in order to ensure a clean install. I
- cannot explicitly delete every file and then remove the
- directories as I am not privy to the contents of each directory.
- I know I could build a list of all of the files using
- findfirst/findnext but I do not wish to re-invent the wheel.
- Any help would be greatly appreciated.
-
- ** Please respond via e-mail if at all possible (I am not
- able to check this newsgroup often...).
-
- Regards,
-
- Lloyd A. Charlier
- Information Delivery
- Enterprise Computing Provisioning (ECP)
- Texas Instruments Incorporated
-
- E-mail: LCharlier@ti.com
- Phone: (214) 575-2052
- Pager: (214) 581-9877
- Fax: (214) 575-4853
-